package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.api.content.model.vo.CourseTeacherVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * Created on 2021/04/06/10:01 周二
 *
 * @author Lantin
 */
@Api("内容-课程教师信息接口")
public interface CourseTeacherApi {

    @ApiOperation("添加或修改课程教师")
    @ApiImplicitParam(name = "courseTeacherVO", value = "课程教师Vo类", required = true, dataType = "CourseTeacherVO", paramType = "body")
    CourseTeacherDTO createOrModifyCourseTeacher(CourseTeacherVO courseTeacherVO);

    @ApiOperation("删除课程教师")
    boolean removeCourseTeacher(Long courseBaseId, Long courseTeacherId);

    @ApiOperation("分页查询课程下所有教师信息")
    List<CourseTeacherDTO> queryCourseTeacherList(Long courseBaseId);

}
